import request from '@/utils/request'
import api from '@/api/api'

export function defaultLoginApi(data) {
    return request.post(api.defaultLogin, data, 1);
}
export function updateLoginApi(data) {
    return request.post(api.updateLogin, data, 1);
}
export function getCurrentUserApi(data) {
    return request.get(api.getCurrentUser, data, 1);
}